package com.hxzy.mapper;

import com.hxzy.dto.PageDTO;
import com.hxzy.entity.TbNewbeeMallAdminUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TbNewbeeMallAdminUserMapper {
    int deleteByPrimaryKey(Integer adminUserId);

    int insert(TbNewbeeMallAdminUser record);

    int insertSelective(TbNewbeeMallAdminUser record);

    TbNewbeeMallAdminUser selectByPrimaryKey(Integer adminUserId);

    int updateByPrimaryKeySelective(TbNewbeeMallAdminUser record);

    int updateByPrimaryKey(TbNewbeeMallAdminUser record);

    TbNewbeeMallAdminUser login(String loginUserName);

    List<TbNewbeeMallAdminUser> search(PageDTO pageDTO);

    TbNewbeeMallAdminUser selectByName(String userName);
}